ACFWF\Models\Store_Credits\Checkout B

Total Complexity 78
Dependencies 9
Dependents 1
Total lines 758
Lines of code 361
Logical lines of code 178
Comment lines 280
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
ajax_redeem_store_credits()
A
46 9 37
display_order_review_paid_in_store_credits()
A
48 8 32
redeem_store_credits()
A
44 6 52
display_store_credits_checkout_redeem_form()
S
51 5 29
update_order_refunded_as_store_credits_labels()
S
58 6 14
_old_display_order_review_paid_in_store_credits()
S
51 5 25
display_order_review_store_credits_discount_total()
S
54 5 20
apply_store_credit_discount()
S
58 5 15
recalculate_order_totals_after_checkout_complete()
S
62 5 11
display_store_credits_discount_row()
S
51 3 29
deduct_store_credits_discount_from_balance()
S
50 3 29
_is_allow_store_credits()
S
60 4 13
deduct_store_credits_discount_from_order_total()
S
59 3 13
get_cart_total_before_store_credit_discounts()
S
67 3 7
run()
S
58 2 14
initialize()
S
70 2 6
get_instance()
S
70 2 6
_get_store_credits_endpoint()
S
79 1 3
__construct()
S
70 1 6